package com.ssm.service;

import com.ssm.dao.IPackageDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by wtjr on 2018/1/9.
 */
@Service("PackageService")
public class PackageServiceImpl implements PackageService {

    @Autowired
    IPackageDao mapper;

    /**
     * 根据商户id来获取套餐服务
     * @param service_uuid
     * @return 套餐服务列表
     */
    public List queryPackageListByServiceId(String service_uuid) {
        List list = null;
        try {
            list = mapper.queryPackageListByServiceId(service_uuid);
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        return list;
    }
}

